//
//  HRVModel.swift
//  DaFit
//
//  Created by 尹琼 on 2022/6/11.
//  Copyright © 2022 sylar. All rights reserved.
//

import UIKit
import MYModule

public class HomeHRVModel: HomeModel {
    
    public var date = ""
    ///  单次 HRV
    public var hrv: Int = 0
    
    /// 测量按钮状态
    public var measureState: UIControl.State = .disabled
    
    public var endDate: Date?


    public var chartDatas: [HeartBarData] = []
    
    /// 图表最大值
    public var chartMaxData: Int = 400
    
    /// 图表最小值
    public var chartMinData: Int = 0
    
    /// 图表Y轴线个数（不包含 0轴线）
    public var chartYAxisCount: Int = 4
    
    public var hasData = false
    
    
    public var hrvTitle: String {
        
        return hrv.normalTitle
        
    }
}






